<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@include file="header.jsp" %>
<form method="post" action="">
    <table>
	<tr>
	    <th colspan="2">Contact Ekle</th>
	</tr>
	<tr>
	    <th>Adı</th>
	    <td><input type="text" name="firstName" value="<% request.getParameter("firstName"); %>" /></td>
	</tr>
	<tr>
	    <th>Soyadı</th>
	    <td><input type="text" name="lastName" value="<% request.getParameter("lastName"); %>" /></td>
	</tr>
	<tr>
	    <th>Company</th>
	    <td>
		<select name="company">
		    <option value="">Seçiniz</option>
		</select>
	    </td>
	</tr>
	<tr>
	    <th>E-Posta</th>
	    <td><input type="text" name="email" value="<% request.getParameter("email"); %>" /></td>
	</tr>
	<tr>
	    <th>Ofis Telefonu</th>
	    <td><input type="text" name="officePhone" value="<% request.getParameter("officePhone"); %>" /></td>
	</tr>
	<tr>
	    <th>Cep Telefonu</th>
	    <td><input type="text" name="mobilePhone" value="<% request.getParameter("mobilePhone"); %>" /></td>
	</tr>
	<tr>
	    <th>Diğer Telefon</th>
	    <td><input type="text" name="otherPhone" value="<% request.getParameter("otherPhone"); %>" /></td>
	</tr>
	<tr>
	    <th>Faks</th>
	    <td><input type="text" name="fax" value="<% request.getParameter("fax"); %>" /></td>
	</tr>
	<tr>
	    <th>Doğum Günü</th>
	    <td>
		<select name="day">
		    <option value=""></option>
		    <% for( int i=1; i<=31; i++ ){ %>
		    <option value="<% out.print(i); %>"><% out.print(i); %></option>
		    <% } %>
		</select>
		/
		<select name="month">
		    <option value=""></option>
		    <% for( int i=1; i<=12; i++ ){ %>
		    <option value="<% out.print(i); %>"><% out.print(i); %></option>
		    <% } %>
		</select>
		/
		<select name="year">
		    <option value=""></option>
		    <% for( int i=1920; i<=2000; i++ ){ %>
		    <option value="<% out.print(i); %>"><% out.print(i); %></option>
		    <% } %>
		</select>
	    </td>
	</tr>
	<tr>
	    <th>Adres</th>
	    <td><textarea name="address"><% request.getParameter("address"); %></textarea></td>
	</tr>
	<tr>
	    <th>Departman</th>
	    <td><input type="text" name="department" value="<% request.getParameter("department"); %>" /></td>
	</tr>
	<tr>
	    <th colspan="2">
		<input type="submit" name="submit" value="Gönder" />
	    </th>
	</tr>
    </table>
</form>
<%@include file="footer.jsp" %>